#include "EWAUIGraphType.hpp"

namespace Eyer
{
    EWAUIGraphType EWAUIGraphType::UNKNOW   (0);
    EWAUIGraphType EWAUIGraphType::RECT     (1);
    EWAUIGraphType EWAUIGraphType::LINE     (2);
    EWAUIGraphType EWAUIGraphType::TEXT     (3);

    EWAUIGraphType::EWAUIGraphType()
    {

    }

    EWAUIGraphType::EWAUIGraphType(int _id)
    {
        id = _id;
    }

    EWAUIGraphType::~EWAUIGraphType()
    {

    }

    EWAUIGraphType::EWAUIGraphType(const EWAUIGraphType & _type)
    {
        *this = _type;
    }

    EWAUIGraphType & EWAUIGraphType::operator = (const EWAUIGraphType & _type)
    {
        id = _type.id;
        return *this;
    }

    bool EWAUIGraphType::operator == (const EWAUIGraphType & _type)
    {
        return id == _type.id;
    }

    bool EWAUIGraphType::operator != (const EWAUIGraphType & _type)
    {
        return id != _type.id;
    }
}